Function Fibonacci
{
$vals = (1..45)
[int]$a = 0
[int]$b = 1
Write-Host "$a"
Write-Host "$b"
foreach ($x in $vals)
{
[int]$res = [int]$a+[int]$b
Write-Host "$res"
[int]$a = [int]$b
[int]$b = [int]$res
}
}
Fibonacci

